<%@ page language="java" contentType="text/json; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
{ "total":${page.totalElements }, "rows":[
<c:forEach var="leave" varStatus="status" items="${page.content }">
			{"id":${leave.id},"personName":"${leave.person.name}","startTime":"<fmt:formatDate value="${leave.startTime}" pattern="yy-M-d HH:mm:ss"/>",
			"endTime":"<fmt:formatDate value="${leave.endTime }" pattern="yy-M-d HH:mm:ss"/>","reason":"${leave.reason }","status":"${leave.status eq 'UNTREATED'?'未处理':leave.status eq 'AGREE'?'批准':'未批准' }"}<c:if
		test="${!status.last }">,</c:if>
</c:forEach>
] }

